.carousel {
	position: relative;
	width: 800px;
	margin: 100px auto;
	margin-bottom: -30px;
}
.carousel ul {
	list-style-type: none;
	position: relative;
	display: flex;
	min-height: 200px;
	margin-bottom: 40px;
}
.carousel .prev,.next {
	position: absolute;
	display: none;
	cursor: pointer;
	height: 70px;
	width: 30px;
	padding: 5px;
	line-height: 70px;
	text-align: center;
	top: 44%;
	z-index: 1;
	font-weight: bold;
	background-color: rgba(120,140,70,0.7);
}
.prev {
	left: -80px;
}
.next {
	right: -80px;
}
.li-item{
	position: absolute;
	width: 540px;
	height: 250px;
	left: 130px;
	right: 130px;
	transition: all .3s ease-out;
	opacity: 0;
}
.carousel li img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	box-shadow:12px 12px 25px 12px rgba(0,0,0,.2);
}
.now {
	z-index: 1;
	opacity: 1;
	transform: scale3d(1.0, 1.2, 1.2)
}
.before {
	transform: translateX(-250px);
	opacity: .8;
}
.after {
	transform: translateX(250px);
	opacity: .8;
}
.lines {
	display: flex;
	justify-content: center;
}
.line {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: darkmagenta;
	margin: 50px 10px;
	cursor: pointer;
}
.active-line{
	width: 30px;
	height: 10px;
	transition: all .3s ease-out;
	border-radius: 10px;
	background-color: sandybrown;
}